Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/f41-build-844717-162557/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/x11vnc-0.9.16^20230801gita61f364-3.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'], chrootPath='/var/lib/mock/f41-build-844717-162557/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/x11vnc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.4LwsBj + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + test -d /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + /usr/bin/rm -rf /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + /usr/bin/mkdir -p /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + /usr/bin/mkdir -p /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JwdItN + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + rm -rf x11vnc-a61f364e385d98677c04070a994397b287385219 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/x11vnc-a61f364.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd x11vnc-a61f364e385d98677c04070a994397b287385219 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (x11vnc-0.9.16-Respect-a-system-crypto-policy.patch): + echo 'Patch #0 (x11vnc-0.9.16-Respect-a-system-crypto-policy.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/enc.h patching file src/sslhelper.c Patch #1 (x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch): + echo 'Patch #1 (x11vnc-0.9.16-Convert-a-changelog-to-UTF-8.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ChangeLog + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7qbznw + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11vnc-a61f364e385d98677c04070a994397b287385219 + autoreconf -fi configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1125: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:472: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:472: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:472: the top level configure.ac:482: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:482: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:482: the top level configure.ac:484: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:484: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_type_socklen_t.m4:48: AX_TYPE_SOCKLEN_T is expanded from... configure.ac:484: the top level configure.ac:485: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:485: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:485: the top level configure.ac:10: installing './compile' configure.ac:460: installing './config.guess' configure.ac:460: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-avahi --with-colormultipointer --with-crypto --with-dpms --with-fbdev --without-fbpm --without-macosx-native --with-ssl --with-uinput --with-x --without-xcomposite --with-xdamage --with-xfixes --with-xinerama --with-xkeyboard --with-xrandr --with-xrecord --without-xtrap checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for RAND_file_name in -lcrypto... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for drm... no checking for drmModeGetResources in -ldrm... yes checking for openssl >= 1.0.0... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XGetImage in -lX11... yes checking for XShmGetImage in -lXext... yes checking for XReadScreen in -lXext... no checking for X11/extensions/readdisplay.h... no checking for DPMSForceLevel in -lXext... yes checking for XTestGrabControl in -lXtst... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for XRecordEnableContextAsync in -lXtst... yes checking for X11/XKBlib.h... yes checking for XkbSelectEvents in -lX11... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XRRSelectInput in -lXrandr... yes checking for XFixesGetCursorImage in -lXfixes... yes checking for XDamageQueryExtension in -lXdamage... yes checking for xi >= 1.2.99 inputproto >= 1.9.99.9... yes checking for XcursorImageLoadCursor in -lXcursor... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for vfork.h... no checking for libv4l1-videodev.h... no checking for linux/videodev.h... no checking for linux/videodev2.h... yes checking for linux/fb.h... yes checking for linux/input.h... yes checking for linux/uinput.h... yes checking for OpenGL/OpenGL.h... no checking for avahi... yes checking for cairo... yes checking for libvncserver >= 0.9.8... yes checking for libvncclient >= 0.9.8... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for arpa/inet.h... yes checking for endian.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/endian.h... no checking for sys/socket.h... yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for ws2tcpip.h... no checking for pwd.h... yes checking for sys/wait.h... yes checking for utmpx.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for sys/stropts.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for size_t... yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for socklen_t... yes checking for in_addr_t... checking for working memcmp... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for vprintf... yes checking for fork... yes checking for vfork... yes checking for pid_t... yes checking for working fork... yes checking for working vfork... (cached) yes checking for gethostbyname in -lnsl... no checking for socket in -lsocket... no checking for ftime... yes checking for gethostbyname... (cached) yes checking for gethostname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for setsid... yes checking for setpgrp... yes checking for getpwuid... yes checking for getpwnam... yes checking for getspnam... yes checking for getuid... yes checking for geteuid... yes checking for setuid... yes checking for setgid... yes checking for seteuid... yes checking for setegid... yes checking for initgroups... yes checking for waitpid... yes checking for setutxent... yes checking for grantpt... yes checking for shmat... (cached) yes checking for shmget in -lcygipc... no checking for ApplicationServices/ApplicationServices.h... no checking for android/api-level.h... no checking for rpm sources path... NOT-FOUND checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating misc/Makefile config.status: creating misc/turbovnc/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-avahi.o `test -f 'avahi.c' || echo './'`avahi.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' avahi.c: In function ‘avahi_initialise’: avahi.c:219:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 219 | if (db) fprintf(stderr, "in avahi_initialise\n"); | ^~ avahi.c:220:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 220 | if (_poll) { | ^~ avahi.c: In function ‘_avahi_entry_group_callback’: avahi.c:260:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 260 | if (db) fprintf(stderr, "in _avahi_entry_group_callback %d 0x%p\n", state, svc); | ^~ avahi.c:261:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 261 | if (g != _group && _group != NULL) { | ^~ avahi.c:279:53: warning: passing argument 2 of ‘_avahi_create_services’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | _avahi_create_services(new_name, svc->host, svc->port); | ~~~^~~~~~ avahi.c:252:54: note: expected ‘char *’ but argument is of type ‘const char *’ 252 | static void _avahi_create_services(char *name, char *host, | ~~~~~~^~~~ avahi.c: In function ‘_avahi_create_services’: avahi.c:298:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 298 | if (db) fprintf(stderr, "in _avahi_create_services '%s' '%s' %d\n", name, host, port); | ^~ avahi.c:299:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 299 | svc->name = name; | ^~~ avahi.c: In function ‘avahi_advertise’: avahi.c:338:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 338 | if (db) fprintf(stderr, "in avahi_advertise: '%s' '%s' %d\n", name, host, port); | ^~ avahi.c:339:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 339 | if (!_client) { | ^~ avahi.c: In function ‘avahi_reset’: avahi.c:381:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 381 | if (db) fprintf(stderr, "in avahi_reset\n"); | ^~ avahi.c:382:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 382 | for (i=0; iinput, s, CILEN); | ^ connections.c:4460:41: warning: ‘__builtin_strncpy’ specified bound 10 equals destination size [-Wstringop-truncation] 4460 | strncpy(cd->input, s, CILEN); | ^ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-rates.o `test -f 'rates.c' || echo './'`rates.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-pointer.o `test -f 'pointer.c' || echo './'`pointer.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-keyboard.o `test -f 'keyboard.c' || echo './'`keyboard.c keyboard.c: In function ‘initialize_allowed_input’: keyboard.c:2500:41: warning: ‘__builtin_strncpy’ specified bound 10 equals destination size [-Wstringop-truncation] 2500 | strncpy(cd->input, | ^ keyboard.c:2492:41: warning: ‘__builtin_strncpy’ specified bound 10 equals destination size [-Wstringop-truncation] 2492 | strncpy(cd->input, | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-selection.o `test -f 'selection.c' || echo './'`selection.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-solid.o `test -f 'solid.c' || echo './'`solid.c solid.c: In function ‘solid_macosx’: solid.c:1217:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1217 | write(fd, macosx_solid_background, strlen(macosx_solid_background)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ solid.c: In function ‘kde_no_animate’: solid.c:1152:39: warning: ‘%s’ directive writing up to 2147483646 bytes into a region of size between 2147483552 and 2147483634 [-Wformat-overflow=] 1152 | sprintf(cmd2, "(sleep 10; %s; %s; sleep 5; %s) &", kwinrc_off, cmd, kwinrc_on); | ^~ In file included from /usr/include/stdio.h:970, from /usr/include/rfb/rfb.h:41, from x11vnc.h:69, from solid.c:35: In function ‘sprintf’, inlined from ‘kde_no_animate’ at solid.c:1152:2: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 28 and 2147483837 bytes into a destination of size 2147483647 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-scan.o `test -f 'scan.c' || echo './'`scan.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' scan.c: In function ‘initialize_polling_images’: scan.c:454:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘sysname’ will never be NULL [-Waddress] 454 | if (UT.sysname && strstr(UT.sysname, "Linux")) { | ^~ In file included from x11vnc.h:53, from scan.c:35: /usr/include/sys/utsname.h:51:10: note: ‘sysname’ declared here 51 | char sysname[_UTSNAME_SYSNAME_LENGTH]; | ^~~~~~~ scan.c: In function ‘get_load’: scan.c:2976:33: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2976 | read(d, tmp, 60); | ^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-sslcmds.o `test -f 'sslcmds.c' || echo './'`sslcmds.c sslcmds.c: In function ‘sslGenCA’: sslcmds.c:604:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 604 | system(cmd); | ^~~~~~~~~~~ sslcmds.c: In function ‘sslGenCert’: sslcmds.c:640:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 640 | system(cmd); | ^~~~~~~~~~~ sslcmds.c: In function ‘sslEncKey’: sslcmds.c:730:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 730 | system(tca); | ^~~~~~~~~~~ sslcmds.c:744:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 744 | write(tmp_fd, genCert, strlen(genCert)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslcmds.c:758:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 758 | system(scr); | ^~~~~~~~~~~ sslcmds.c:855:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 855 | write(tmp_fd, genCert, strlen(genCert)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslcmds.c:871:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 871 | system(scr); | ^~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-screen.o `test -f 'screen.c' || echo './'`screen.c screen.c: In function ‘vnc_reflect_get_password’: screen.c:1435:17: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1435 | fgets(p, 100, stdin); | ^~~~~~~~~~~~~~~~~~~~ screen.c:1440:33: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1440 | fgets(p, 100, f); | ^~~~~~~~~~~~~~~~ screen.c: In function ‘initialize_raw_fb’: screen.c:1775:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1775 | write(fd, (char *)vals, 4 * w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:1797:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1797 | write(fd, (char *)val, 4 * w); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-uinput.o `test -f 'uinput.c' || echo './'`uinput.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' uinput.c: In function ‘check_uinput’: uinput.c:143:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘release’ will never be NULL [-Waddress] 143 | if (UT.release) { | ^~ In file included from x11vnc.h:53, from uinput.c:35: /usr/include/sys/utsname.h:57:10: note: ‘release’ declared here 57 | char release[_UTSNAME_RELEASE_LENGTH]; | ^~~~~~~ uinput.c: In function ‘initialize_uinput’: uinput.c:495:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 495 | write(fd, &udev, sizeof(udev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function ‘ptr_move’: uinput.c:735:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 735 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:740:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 740 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:745:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 745 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function ‘button_click’: uinput.c:997:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 997 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:1002:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1002 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function ‘ptr_abs’: uinput.c:791:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 791 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:796:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 796 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:802:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 802 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:808:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 808 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:815:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 815 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c: In function ‘uinput_key_command’: uinput.c:1278:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1278 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ uinput.c:1283:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1283 | write(d, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-unixpw.o `test -f 'unixpw.c' || echo './'`unixpw.c unixpw.c: In function ‘white_pixel’: unixpw.c:361:30: warning: variable ‘black_pix’ set but not used [-Wunused-but-set-variable] 361 | static unsigned long black_pix = 0, white_pix = 1, set = 0; | ^~~~~~~~~ unixpw.c: In function ‘black_pixel’: unixpw.c:382:45: warning: variable ‘white_pix’ set but not used [-Wunused-but-set-variable] 382 | static unsigned long black_pix = 0, white_pix = 1, set = 0; | ^~~~~~~~~ unixpw.c: In function ‘su_verify’: unixpw.c:1055:21: warning: variable ‘ttyfd’ set but not used [-Wunused-but-set-variable] 1055 | int ttyfd; | ^~~~~ unixpw.c: In function ‘unixpw_verify_screen’: unixpw.c:1577:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1577 | if (db) fprintf(stderr, "unixpw_verify: '%s' '%s'\n", user, db > 1 ? pass : "********"); | ^~ unixpw.c:1578:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1578 | rfbLog("unixpw_verify: '%s'\n", user ? user : "(null)"); | ^~~~~~ unixpw.c: In function ‘apply_opts’: unixpw.c:2061:16: warning: variable ‘notmode’ set but not used [-Wunused-but-set-variable] 2061 | int i, notmode = 0; | ^~~~~~~ unixpw.c: In function ‘try_to_be_nobody’: unixpw.c:648:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 648 | setuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:651:17: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 651 | seteuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c:654:17: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 654 | setgid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~ unixpw.c:657:17: warning: ignoring return value of ‘setegid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 657 | setegid(pw->pw_gid); | ^~~~~~~~~~~~~~~~~~~ unixpw.c: In function ‘su_verify’: unixpw.c:1120:33: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1120 | system(nam); | ^~~~~~~~~~~ unixpw.c:1122:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1122 | write(tfd, "NOTTTY\n", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c:1127:17: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1127 | chdir("/"); | ^~~~~~~~~~ unixpw.c:1157:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1157 | write(2, "C", 1); | ^~~~~~~~~~~~~~~~ unixpw.c:1252:33: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1252 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1254:33: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1254 | system(cmd0); | ^~~~~~~~~~~~ unixpw.c:1339:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1339 | write(fd, pass+k, 1); | ^~~~~~~~~~~~~~~~~~~~ unixpw.c:1343:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1343 | write(fd, pass, strlen(pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unixpw.c: In function ‘check_unixpw_userprefs’: unixpw.c:1541:33: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1541 | fgets(buf, 1024, f); | ^~~~~~~~~~~~~~~~~~~ unixpw.c: In function ‘unixpw_accept’: unixpw.c:2132:41: warning: ‘__builtin_strncpy’ specified bound 10 equals destination size [-Wstringop-truncation] 2132 | strncpy(cd->input, q, CILEN); | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-user.o `test -f 'user.c' || echo './'`user.c user.c: In function ‘do_run_cmd’: user.c:2782:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2782 | if (db) fprintf(stderr, "line1=%s\n", line1); | ^~ user.c:2784:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2784 | if (strstr(line1, "DISPLAY=") != line1) { | ^~ user.c:2470:13: warning: variable ‘internal_cmd’ set but not used [-Wunused-but-set-variable] 2470 | int internal_cmd = 0; | ^~~~~~~~~~~~ user.c: In function ‘setup_cmd’: user.c:1905:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1905 | write(fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:1914:49: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1914 | system(com); | ^~~~~~~~~~~ user.c: In function ‘vnc_redirect_timeout’: user.c:1396:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1396 | write(2, "timeout: no clients connected.\n", 31); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function ‘do_run_cmd’: user.c:2511:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2511 | write(tmp_fd, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2513:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2513 | write(tmp_fd, find_display, strlen(find_display)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:2576:37: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2576:56: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2576 | if (db) {fprintf(stderr, "line: "); write(2, line, n); write(2, "\n", 1); fprintf(stderr, "res=%d n=%d\n", res, n);} | ^~~~~~~~~~~~~~~~~ user.c:2681:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2681 | if (db) write(2, line, 100); | ^~~~~~~~~~~~~~~~~~~ user.c:2857:1: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2857 | write(2, xauth_raw_data, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function ‘do_chvt’: user.c:1405:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1405 | system(chvt); | ^~~~~~~~~~~~ user.c: In function ‘do_vnc_redirect’: user.c:1876:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1876 | write(vnc_redirect_sock, vnc_redirect_test, vnc_redirect_cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c: In function ‘lurk_loop’: user.c:502:51: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] 502 | sprintf(dpystr, ":%d", dn); | ^~ In function ‘lurk’, inlined from ‘lurk_loop’ at user.c:543:7: user.c:502:49: note: directive argument in the range [0, 2147483647] 502 | sprintf(dpystr, ":%d", dn); | ^~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/rfb/rfb.h:41, from x11vnc.h:69, from user.c:35: In function ‘sprintf’, inlined from ‘lurk’ at user.c:502:5, inlined from ‘lurk_loop’ at user.c:543:7: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ user.c: In function ‘do_run_cmd.constprop’: user.c:2627:49: warning: ‘__builtin_strncpy’ output may be truncated copying 100 bytes from a string of length 1023 [-Wstringop-truncation] 2627 | strncpy(line, line1, 100); | ^ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-util.o `test -f 'util.c' || echo './'`util.c util.c: In function ‘set_env’: util.c:240:15: warning: unused variable ‘str’ [-Wunused-variable] 240 | char *str; | ^~~ util.c: In function ‘this_host’: util.c:346:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘nodename’ will never be NULL [-Waddress] 346 | } else if (UT.nodename) { | ^~ In file included from x11vnc.h:53, from util.c:36: /usr/include/sys/utsname.h:54:10: note: ‘nodename’ declared here 54 | char nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ util.c: In function ‘do_allinput’: util.c:516:14: warning: variable ‘usec0’ set but not used [-Wunused-but-set-variable] 516 | long usec0; | ^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-sslhelper.o `test -f 'sslhelper.c' || echo './'`sslhelper.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' sslhelper.c: In function ‘create_tmp_pem’: sslhelper.c:268:31: warning: the comparison will always evaluate as ‘true’ for the address of ‘sysname’ will never be NULL [-Waddress] 268 | L = strdup(UT.sysname ? UT.sysname : "unknown-os"); | ^ In file included from x11vnc.h:53, from sslhelper.c:35: /usr/include/sys/utsname.h:51:10: note: ‘sysname’ declared here 51 | char sysname[_UTSNAME_SYSNAME_LENGTH]; | ^~~~~~~ sslhelper.c:269:58: warning: the comparison will always evaluate as ‘true’ for the address of ‘nodename’ will never be NULL [-Waddress] 269 | snprintf(line, sizeof line, "%s-%f", UT.nodename ? UT.nodename : | ^ /usr/include/sys/utsname.h:54:10: note: ‘nodename’ declared here 54 | char nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ sslhelper.c: In function ‘crl_callback’: sslhelper.c:849:17: warning: ‘X509_CRL_get_lastUpdate’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 849 | ASN1_UTCTIME_print(bio, X509_CRL_get_lastUpdate(crl)); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:32, from sslhelper.c:730: /usr/include/openssl/x509.h:939:36: note: declared here 939 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:851:17: warning: ‘X509_CRL_get_nextUpdate’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 851 | ASN1_UTCTIME_print(bio, X509_CRL_get_nextUpdate(crl)); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/x509.h:940:36: note: declared here 940 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:881:17: warning: ‘X509_CRL_get_nextUpdate’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 881 | t=X509_CRL_get_nextUpdate(crl); | ^ /usr/include/openssl/x509.h:940:36: note: declared here 940 | OSSL_DEPRECATEDIN_1_1_0 ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘openssl_init’: sslhelper.c:1067:9: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1067 | rsa_512 = RSA_generate_key(512, RSA_F4, NULL, NULL); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ sslhelper.c:1076:9: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1076 | rsa_1024 = RSA_generate_key(1024, RSA_F4, NULL, NULL); | ^~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ sslhelper.c:1161:17: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1161 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:37: /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:1170:21: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1170 | 8*DH_size(dh), dnow()-ds); | ^ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37: /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ sslhelper.c:1171:17: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1171 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ sslhelper.c:1179:17: warning: ‘SSL_CTX_use_RSAPrivateKey_file’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1179 | if (! SSL_CTX_use_RSAPrivateKey_file(ctx, openssl_pem, | ^~ /usr/include/openssl/ssl.h:1732:12: note: declared here 1732 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘add_anon_dh’: sslhelper.c:1564:9: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1564 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:1573:9: warning: ‘DH_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1573 | rfbLog("loaded Diffie Hellman %d bits, %.3fs\n", 8*DH_size(dh), dnow()-ds); | ^~~~~~ /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ sslhelper.c:1574:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1574 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ sslhelper.c: In function ‘pr_ssl_info’: sslhelper.c:1968:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1968 | c = SSL_get_current_cipher(ssl); | ^ sslhelper.c: In function ‘ssl_helper_pid’: sslhelper.c:3064:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3064 | if (db) fprintf(stderr, "ssl_helper_pid(%d, %d)\n", pid, sock); | ^~ sslhelper.c:3067:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3067 | set = 0; | ^~~ sslhelper.c: In function ‘is_ssl_readable’: sslhelper.c:3156:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3156 | if (db) fprintf(stderr, "tv_sec: %d - '%s'\n", (int) tv.tv_sec, last_get); | ^~ In file included from /usr/include/sys/select.h:30, from /usr/include/sys/types.h:179, from /usr/include/bits/socket.h:29, from /usr/include/sys/socket.h:33, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from x11vnc.h:65: sslhelper.c:3158:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3158 | FD_ZERO(&rd); | ^~~~~~~ In file included from x11vnc.h:730: sslhelper.c: In function ‘accept_openssl’: util.h:83:9: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro ‘usleep2’ 88 | #define usleep usleep2 | ^~~~~~~ sslhelper.c:3929:24: note: in expansion of macro ‘usleep’ 3929 | if (0) usleep(50 * 1000); | ^~~~~~ sslhelper.c:3929:17: note: some parts of macro expansion are not guarded by this ‘if’ clause 3929 | if (0) usleep(50 * 1000); | ^~ sslhelper.c:4081:29: warning: the address of ‘rcookie’ will always evaluate as ‘true’ [-Waddress] 4081 | if (rcookie && strstr(rcookie, "VncViewer.class")) { | ^~~~~~~ sslhelper.c: In function ‘raw_xfer’: util.h:83:9: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro ‘usleep2’ 88 | #define usleep usleep2 | ^~~~~~~ sslhelper.c:4336:25: note: in expansion of macro ‘usleep’ 4336 | if (db) usleep(50*1000); | ^~~~~~ sslhelper.c:4336:17: note: some parts of macro expansion are not guarded by this ‘if’ clause 4336 | if (db) usleep(50*1000); | ^~ In file included from sslhelper.c:4387: enc.h: In function ‘load_client_auth’: enc.h:1233:9: warning: ‘d2i_RSAPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1233 | rsa = d2i_RSAPrivateKey(NULL, (const unsigned char **) ((void *) &contents), sb.st_size); | ^~~ In file included from /usr/include/openssl/objects.h:21, from /usr/include/openssl/evp.h:44, from /usr/include/openssl/x509.h:29: /usr/include/openssl/rsa.h:320:1: note: declared here 320 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1239:9: warning: ‘RSA_check_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1239 | if (RSA_check_key(rsa) != 1) { | ^~ /usr/include/openssl/rsa.h:289:27: note: declared here 289 | OSSL_DEPRECATEDIN_3_0 int RSA_check_key(const RSA *); | ^~~~~~~~~~~~~ enc.h: In function ‘securevnc_setup’: enc.h:1385:9: warning: ‘d2i_RSAPublicKey’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1385 | rsa = d2i_RSAPublicKey(NULL, (const unsigned char **) &rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~ /usr/include/openssl/rsa.h:318:1: note: declared here 318 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1439:9: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1439 | encrypted_keybuf = (unsigned char*) calloc(RSA_size(rsa), 1); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ enc.h:1448:17: warning: ‘RAND_pseudo_bytes’ is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 1448 | rc = RAND_pseudo_bytes((unsigned char *)keydata, SECUREVNC_RAND_KEY_SOURCE); | ^~ In file included from sslhelper.c:732: /usr/include/openssl/rand.h:79:29: note: declared here 79 | OSSL_DEPRECATEDIN_1_1_0 int RAND_pseudo_bytes(unsigned char *buf, int num); | ^~~~~~~~~~~~~~~~~ enc.h:1461:9: warning: ‘RSA_public_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1461 | n = RSA_public_encrypt(SECUREVNC_KEY_SIZE, keystr, encrypted_keybuf, rsa, RSA_PKCS1_PADDING); | ^ /usr/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ enc.h:1499:25: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 1499 | client_rsa = RSA_generate_key(2048, 0x10001, NULL, NULL); | ^~~~~~~~~~ /usr/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ enc.h:1554:17: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1554 | signature = (unsigned char *) calloc(RSA_size(client_rsa), 1); | ^~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ enc.h:1555:17: warning: ‘RSA_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1555 | RSA_sign(NID_sha1, digest, ndig, signature, &nsig, client_rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:359:27: note: declared here 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ enc.h:1561:17: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1561 | RSA_free(client_rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ sslhelper.c: In function ‘create_tmp_pem’: sslhelper.c:346:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 346 | write(cnf_fd, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:505:25: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 505 | system(cmd); | ^~~~~~~~~~~ sslhelper.c: In function ‘pem_passwd_callback’: sslhelper.c:780:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 780 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c:783:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 783 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c:786:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 786 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘add_anon_dh’: sslhelper.c:1482:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1482 | write(cnf_fd, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1536:57: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1536 | write(d, new_dh_params, strlen(new_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:1544:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1544 | write(cnf_fd, fixed_dh_params, strlen(fixed_dh_params)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘accept_openssl’: sslhelper.c:3626:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3626 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3632:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3632 | write(vncsock, tbuf, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3706:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3706 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3708:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3708 | write(vncsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3780:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3780 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3854:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3854 | write(vncsock, tbuf, strlen(tbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3901:49: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3901 | write(httpsock, buf, m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3902:49: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3902 | write(httpsock, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3904:49: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3904 | write(httpsock, q, n-m); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3909:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3909 | write(httpsock, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3924:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3924 | write(vncsock, cookie, strlen(cookie)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:3988:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3988 | read(certret_fd, certret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c:4011:25: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4011 | read(dhret_fd, dhret_str, sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘watch_for_http_traffic’: sslhelper.c:3259:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3259 | write(2, buf_a, *n_a); | ^~~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘ssl_xfer’: sslhelper.c:2321:17: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2321 | read(csock, tmp, 12); | ^~~~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘raw_xfer’: sslhelper.c:4314:45: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4314 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ sslhelper.c:4346:45: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4346 | if (db > 1) write(2, buf, n); | ^~~~~~~~~~~~~~~~ enc.h: In function ‘securevnc_setup’: enc.h:1344:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1344 | read(server, (char *) &b1, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1345:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1345 | read(server, (char *) &b2, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1346:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1346 | read(server, (char *) &b3, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1347:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1347 | read(server, (char *) &b4, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1436:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1436 | write(2, to_viewer, 12); /* and first 12 bytes 'RFB ...' as message */ | ^~~~~~~~~~~~~~~~~~~~~~~ enc.h:1469:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1469 | write(server, encrypted_keybuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1479:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1479 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1481:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1481 | write(server, (char *)&one, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1483:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1483 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1484:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1484 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1486:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1486 | write(server, (char *)&sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1488:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1488 | write(server, (char *)&zero, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1558:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1558 | write(server, signature, nsig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h:1568:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1568 | write(viewer, to_viewer, to_viewer_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function ‘securevnc_server_rsa_save_dialog’: enc.h:1110:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1110 | write(fileno(p), rsabuf, SECUREVNC_RSA_PUBKEY_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enc.h: In function ‘doloop’: enc.h:2101:25: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2101 | system(cmd); | ^~~~~~~~~~~ In file included from /usr/include/features.h:511, from /usr/include/unistd.h:25, from x11vnc.h:51: In function ‘read’, inlined from ‘add_anon_dh’ at sslhelper.c:1528:10, inlined from ‘switch_to_anon_dh’ at sslhelper.c:1604:7: /usr/include/bits/unistd.h:32:10: warning: ‘__read_alias’ specified size 18446744073709551614 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 32 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ /usr/include/bits/unistd-decl.h: In function ‘switch_to_anon_dh’: /usr/include/bits/unistd-decl.h:29:16: note: in a call to function ‘__read_alias’ declared with attribute ‘access (write_only, 2, 3)’ 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ sslhelper.c: In function ‘accept_openssl’: sslhelper.c:4078:33: warning: ‘__builtin_strncpy’ output may be truncated copying 100 bytes from a string of length 255 [-Wstringop-truncation] 4078 | strncpy(last_get, rcookie, 100); | ^ In function ‘doloop’, inlined from ‘__enc_main’ at enc.h:2112:4: enc.h:2086:24: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2086 | cmd[0] = '\0'; | ~~~~~~~^~~~~~ enc.h:2085:31: note: destination object of size 0 allocated by ‘malloc’ 2085 | cmd = (char *)malloc(len); | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-v4l.o `test -f 'v4l.c' || echo './'`v4l.c v4l.c:1429:12: warning: ‘lookup_station’ defined but not used [-Wunused-function] 1429 | static int lookup_station(unsigned long freq) { | ^~~~~~~~~~~~~~ v4l.c:1416:22: warning: ‘lookup_freq’ defined but not used [-Wunused-function] 1416 | static unsigned long lookup_freq(int sta) { | ^~~~~~~~~~~ v4l.c:1074:12: warning: ‘open_dev’ defined but not used [-Wunused-function] 1074 | static int open_dev(char *dev) { | ^~~~~~~~ v4l.c:809:14: warning: ‘v4l2_lu_palette’ defined but not used [-Wunused-function] 809 | static char *v4l2_lu_palette(unsigned int fmt) { | ^~~~~~~~~~~~~~~ v4l.c:757:14: warning: ‘v4l1_lu_palette’ defined but not used [-Wunused-function] 757 | static char *v4l1_lu_palette(unsigned short palette) { | ^~~~~~~~~~~~~~~ v4l.c:443:12: warning: ‘v4l1_dpct’ defined but not used [-Wunused-function] 443 | static int v4l1_dpct(int old, int d) { | ^~~~~~~~~ v4l.c:241:13: warning: ‘v4l1_set_input’ defined but not used [-Wunused-function] 241 | static void v4l1_set_input(int fd, int which) { | ^~~~~~~~~~~~~~ v4l.c:221:13: warning: ‘v4l1_setfreq’ defined but not used [-Wunused-function] 221 | static void v4l1_setfreq(int fd, unsigned long freq, int verb) { | ^~~~~~~~~~~~ v4l.c:180:12: warning: ‘v4l1_resize’ defined but not used [-Wunused-function] 180 | static int v4l1_resize(int fd, int w, int h) { | ^~~~~~~~~~~ v4l.c:166:12: warning: ‘v4l1_height’ defined but not used [-Wunused-function] 166 | static int v4l1_height(int h) { | ^~~~~~~~~~~ v4l.c:153:12: warning: ‘v4l1_width’ defined but not used [-Wunused-function] 153 | static int v4l1_width(int w) { | ^~~~~~~~~~ v4l.c:141:12: warning: ‘v4l1_val’ defined but not used [-Wunused-function] 141 | static int v4l1_val(int pct) { | ^~~~~~~~ v4l.c:139:12: warning: ‘last_channel’ defined but not used [-Wunused-variable] 139 | static int last_channel = 0; | ^~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-win_utils.o `test -f 'win_utils.c' || echo './'`win_utils.c win_utils.c: In function ‘snapshot_stack_list’: win_utils.c:193:40: warning: variable ‘last_free’ set but not used [-Wunused-but-set-variable] 193 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-x11vnc_defs.o `test -f 'x11vnc_defs.c' || echo './'`x11vnc_defs.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xdamage.o `test -f 'xdamage.c' || echo './'`xdamage.c xdamage.c: In function ‘record_desired_xdamage_rect’: xdamage.c:92:13: warning: variable ‘dt_x’ set but not used [-Wunused-but-set-variable] 92 | int dt_x, dt_y, nt_x1, nt_y1, nt_x2, nt_y2, nt; | ^~~~ xdamage.c: In function ‘collect_xdamage’: xdamage.c:448:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 448 | if (0) XEventsQueued(dpy, QueuedAfterFlush); | ^~ xdamage.c:450:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 450 | come_back_for_more: | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xevents.o `test -f 'xevents.c' || echo './'`xevents.c xevents.c: In function ‘process_watch’: xevents.c:612:23: warning: variable ‘last_bust’ set but not used [-Wunused-but-set-variable] 612 | static time_t last_bust = 0; | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xi2_devices.o `test -f 'xi2_devices.c' || echo './'`xi2_devices.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xinerama.o `test -f 'xinerama.c' || echo './'`xinerama.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xkb_bell.o `test -f 'xkb_bell.c' || echo './'`xkb_bell.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xrandr.o `test -f 'xrandr.c' || echo './'`xrandr.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xrecord.o `test -f 'xrecord.c' || echo './'`xrecord.c xrecord.c: In function ‘xrecord_watch’: xrecord.c:2012:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2012 | if (db) fprintf(stderr, "rc_scroll: 0x%lx\n", rc_scroll); | ^~ xrecord.c:2013:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2013 | if (trapped_record_xerror) { | ^~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-xwrappers.o `test -f 'xwrappers.c' || echo './'`xwrappers.c xwrappers.c: In function ‘XTestFakeKeyEvent_wr’: xwrappers.c:1003:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1003 | else | ^~~~ xwrappers.c:1007:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 1007 | if (regrab) { | ^~ xwrappers.c: In function ‘xauth_raw’: xwrappers.c:1428:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1428 | write(tmp_fd, xauth_raw_data, xauth_raw_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-userinput.o `test -f 'userinput.c' || echo './'`userinput.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' userinput.c: In function ‘initialize_scroll_term’: userinput.c:759:23: warning: variable ‘s’ set but not used [-Wunused-but-set-variable] 759 | char *s = scroll_good_all[n++]; | ^ userinput.c: In function ‘direct_fb_copy’: userinput.c:1074:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1074 | if (db) dtime0(&tm); | ^~ userinput.c:1076:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1076 | x1 = nfix(x1, dpy_x); | ^~ userinput.c: In function ‘set_ypad’: userinput.c:1306:37: warning: the address of ‘xrecord_name_info’ will always evaluate as ‘true’ [-Waddress] 1306 | if (!xrecord_set_by_keys || !xrecord_name_info) { | ^ userinput.c: In function ‘push_scr_ev’: userinput.c:1480:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1480 | if (db) fprintf(stderr, "ypad: %d dy[0]: %d ev_tot: %d\n", ypad, scr_ev[0].dy, ev_tot); | ^~ userinput.c:1482:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1482 | for (ev=0; ev < ev_tot; ev++) { | ^~~ userinput.c:1795:32: warning: variable ‘trate’ set but not used [-Wunused-but-set-variable] 1795 | double trate; | ^~~~~ In file included from x11vnc.h:730, from userinput.c:35: userinput.c: In function ‘batch_copyregion’: util.h:83:9: warning: macro expands to multiple statements [-Wmultistatement-macros] 83 | _mysleep.tv_sec = (x) / 1000000; \ | ^~~~~~~~ util.h:88:16: note: in expansion of macro ‘usleep2’ 88 | #define usleep usleep2 | ^~~~~~~ userinput.c:2081:34: note: in expansion of macro ‘usleep’ 2081 | if (use_threads) usleep(100 * 1000); | ^~~~~~ userinput.c:2081:17: note: some parts of macro expansion are not guarded by this ‘if’ clause 2081 | if (use_threads) usleep(100 * 1000); | ^~ userinput.c: In function ‘fb_push’: userinput.c:2180:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2180 | if (db) get_client_regions(&req0, &mod0, &cpy0, &ncli); | ^~ userinput.c:2182:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2182 | i = rfbGetClientIterator(screen); | ^ userinput.c: In function ‘check_xrecord_keys’: userinput.c:2555:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2555 | if (0) link = link_rate(&latency, &netrate); | ^~ userinput.c:2557:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2557 | gk = gk0 = got_keyboard_input; | ^~ userinput.c:2633:31: warning: variable ‘last_scr_ev’ set but not used [-Wunused-but-set-variable] 2633 | static double last_scr_ev = 0.0; | ^~~~~~~~~~~ userinput.c:2479:13: warning: variable ‘link’ set but not used [-Wunused-but-set-variable] 2479 | int link, latency, netrate; | ^~~~ userinput.c:2475:37: warning: variable ‘scroll_rep’ set but not used [-Wunused-but-set-variable] 2475 | int scr_cnt = 0, input = 0, scroll_rep; | ^~~~~~~~~~ userinput.c: In function ‘check_xrecord_mouse’: userinput.c:2725:23: warning: variable ‘last_mouse_scroll’ set but not used [-Wunused-but-set-variable] 2725 | static double last_mouse_scroll = 0.0; | ^~~~~~~~~~~~~~~~~ userinput.c: In function ‘try_copyrect’: userinput.c:3121:13: warning: variable ‘db’ set but not used [-Wunused-but-set-variable] 3121 | int db = 0; \ | ^~ userinput.c:3146:9: note: in expansion of macro ‘DB_SET’ 3146 | DB_SET | ^~~~~~ userinput.c: In function ‘check_fixscreen’: userinput.c:3560:31: warning: variable ‘last’ set but not used [-Wunused-but-set-variable] 3560 | static double last = 0.0; | ^~~~ userinput.c: In function ‘ncache_pre_portions’: userinput.c:3782:21: warning: variable ‘bs_h’ set but not used [-Wunused-but-set-variable] 3782 | int bs_h = cache_list[nidx].bs_h; | ^~~~ userinput.c:3781:21: warning: variable ‘bs_w’ set but not used [-Wunused-but-set-variable] 3781 | int bs_w = cache_list[nidx].bs_w; | ^~~~ userinput.c: In function ‘ncache_post_portions’: userinput.c:3965:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3965 | if (db && ncdb) fprintf(stderr, "FB_COPY: %.4f 3) sent_copyrect: su_restore: %d %d\n", dnow() - ntim, dx, dy); | ^~ userinput.c:3966:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3966 | if (cache_list[nidx].su_time == 0.0) { | ^~ userinput.c:3979:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 3979 | if (db && ncdb) fprintf(stderr, "sent_copyrect: %.4f su_restore: done.\n", dnow() - ntim); | ^~ userinput.c:3980:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 3980 | sraRgnDestroy(r0); | ^~~~~~~~~~~~~ userinput.c: In function ‘check_wireframe’: userinput.c:4413:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4413 | if (db) fprintf(stderr, "\n*** button down!! x: %d y: %d\n", cursor_x, cursor_y); | ^~ In file included from /usr/include/rfb/rfb.h:67, from x11vnc.h:69: util.h:113:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 113 | #define X_LOCK LOCK(x11Mutex) | ^~~~ userinput.c:4420:9: note: in expansion of macro ‘X_LOCK’ 4420 | X_LOCK; | ^~~~~~ userinput.c:4434:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4434 | if (db) fprintf(stderr, "a: %d wf: %.3f A: %d origfrm: 0x%lx\n", w*h, wireframe_frac, (dpy_x*dpy_y), frame); | ^~ userinput.c:4440:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4440 | if ((double) w*h < wireframe_frac * (dpy_x * dpy_y)) { | ^~ userinput.c:4444:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4444 | if (db) fprintf(stderr, " frame: x: %d y: %d w: %d h: %d px: %d py: %d fr: 0x%lx\n", x, y, w, h, px, py, frame); | ^~ userinput.c:4451:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4451 | try_it = near_wm_edge(x, y, w, h, px, py); | ^~~~~~ userinput.c:4358:23: warning: variable ‘last_save_stacklist’ set but not used [-Wunused-but-set-variable] 4358 | static time_t last_save_stacklist = 0; | ^~~~~~~~~~~~~~~~~~~ userinput.c: In function ‘check_user_input3’: userinput.c:5315:21: warning: variable ‘got_input’ set but not used [-Wunused-but-set-variable] 5315 | int got_input = 0; | ^~~~~~~~~ userinput.c:5274:36: warning: variable ‘to’ set but not used [-Wunused-but-set-variable] 5274 | double spin, spin_max, tm, to, dtm; | ^~ userinput.c: In function ‘check_user_input4’: userinput.c:5551:21: warning: variable ‘got_input’ set but not used [-Wunused-but-set-variable] 5551 | int got_input = 0; | ^~~~~~~~~ userinput.c:5439:20: warning: variable ‘ssec’ set but not used [-Wunused-but-set-variable] 5439 | static int ssec = 0, total_calls = 0; | ^~~~ userinput.c:5426:39: warning: variable ‘rpe_last’ set but not used [-Wunused-but-set-variable] 5426 | double spin, tm, to, tc, dtm, rpe_last; | ^~~~~~~~ userinput.c: In function ‘snapshot_cache_list’: userinput.c:5757:40: warning: variable ‘last_free’ set but not used [-Wunused-but-set-variable] 5757 | static double last_snap = 0.0, last_free = 0.0; | ^~~~~~~~~ userinput.c: In function ‘bs_save’: userinput.c:7134:22: warning: variable ‘h’ set but not used [-Wunused-but-set-variable] 7134 | int x, y, w, h; | ^ userinput.c:7134:19: warning: variable ‘w’ set but not used [-Wunused-but-set-variable] 7134 | int x, y, w, h; | ^ userinput.c: In function ‘su_save’: userinput.c:7240:22: warning: variable ‘h’ set but not used [-Wunused-but-set-variable] 7240 | int x, y, w, h; | ^ userinput.c:7240:19: warning: variable ‘w’ set but not used [-Wunused-but-set-variable] 7240 | int x, y, w, h; | ^ userinput.c: In function ‘try_to_fix_resize_su’: userinput.c:7787:28: warning: variable ‘bh1’ set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:23: warning: variable ‘bw1’ set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:18: warning: variable ‘by1’ set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7787:13: warning: variable ‘bx1’ set but not used [-Wunused-but-set-variable] 7787 | int bx1, by1, bw1, bh1; | ^~~ userinput.c:7786:28: warning: variable ‘sh1’ set but not used [-Wunused-but-set-variable] 7786 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c:7786:23: warning: variable ‘sw1’ set but not used [-Wunused-but-set-variable] 7786 | int sx1, sy1, sw1, sh1, dx, dy; | ^~~ userinput.c: In function ‘try_to_fix_su’: userinput.c:7921:13: warning: variable ‘moved’ set but not used [-Wunused-but-set-variable] 7921 | int moved = 0; | ^~~~~ userinput.c:7918:25: warning: variable ‘h1’ set but not used [-Wunused-but-set-variable] 7918 | int x1, y1, w1, h1; | ^~ userinput.c:7918:21: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable] 7918 | int x1, y1, w1, h1; | ^~ userinput.c:7917:25: warning: variable ‘h0’ set but not used [-Wunused-but-set-variable] 7917 | int x0, y0, w0, h0; | ^~ userinput.c:7917:21: warning: variable ‘w0’ set but not used [-Wunused-but-set-variable] 7917 | int x0, y0, w0, h0; | ^~ userinput.c: In function ‘try_to_synthesize_su’: userinput.c:8466:25: warning: variable ‘h3’ set but not used [-Wunused-but-set-variable] 8466 | int x3, y3, w3, h3; | ^~ userinput.c:8466:21: warning: variable ‘w3’ set but not used [-Wunused-but-set-variable] 8466 | int x3, y3, w3, h3; | ^~ userinput.c:8464:25: warning: variable ‘h1’ set but not used [-Wunused-but-set-variable] 8464 | int x1, y1, w1, h1; | ^~ userinput.c:8464:21: warning: variable ‘w1’ set but not used [-Wunused-but-set-variable] 8464 | int x1, y1, w1, h1; | ^~ userinput.c:8463:25: warning: variable ‘h0’ set but not used [-Wunused-but-set-variable] 8463 | int x0, y0, w0, h0; | ^~ userinput.c:8463:21: warning: variable ‘w0’ set but not used [-Wunused-but-set-variable] 8463 | int x0, y0, w0, h0; | ^~ userinput.c: In function ‘check_ncache’: userinput.c:9259:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 9259 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:9259:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 9259 | if (ncdb) fprintf(stderr, "\n"); if (ncdb) rfbLog("IN check_ncache() %d events. %.4f\n", n, now - x11vnc_start); | ^~ userinput.c:8894:25: warning: variable ‘ttot’ set but not used [-Wunused-but-set-variable] 8894 | int pixels = 0, ttot; | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-x11vnc.o `test -f 'x11vnc.c' || echo './'`x11vnc.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' x11vnc.c: In function ‘limit_shm’: x11vnc.c:993:24: warning: the comparison will always evaluate as ‘false’ for the address of ‘sysname’ will never be NULL [-Waddress] 993 | if (UT.sysname == NULL) { | ^~ In file included from x11vnc.h:53, from x11vnc.c:135: /usr/include/sys/utsname.h:51:10: note: ‘sysname’ declared here 51 | char sysname[_UTSNAME_SYSNAME_LENGTH]; | ^~~~~~~ x11vnc.c: In function ‘check_guess_auth_file’: x11vnc.c:1965:21: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 1965 | int n; | ^ x11vnc.c: In function ‘main’: x11vnc.c:4643:22: warning: variable ‘message’ set but not used [-Wunused-but-set-variable] 4643 | char message[] = "-rfbauth, -passwdfile, -passwd password, " | ^~~~~~~ x11vnc.c: In function ‘terminal_services’: x11vnc.c:555:49: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 555 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c:562:49: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 562 | system(dcmd); | ^~~~~~~~~~~~ x11vnc.c: In function ‘do_tsd’: x11vnc.c:718:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 718 | system(cmd); | ^~~~~~~~~~~ x11vnc.c:729:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 729 | system(cmd); | ^~~~~~~~~~~ x11vnc.c: In function ‘quick_pw’: x11vnc.c:1381:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1381 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1384:25: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1384 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1387:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1387 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c: In function ‘store_homedir_passwd’: x11vnc.c:1759:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1759 | system("stty -echo"); | ^~~~~~~~~~~~~~~~~~~~ x11vnc.c:1762:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1762 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1770:17: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1770 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ x11vnc.c:1774:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1774 | system("stty echo"); | ^~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/pixman-1 -I/usr/include/drm/ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o x11vnc-remote.o `test -f 'remote.c' || echo './'`remote.c make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' remote.c: In function ‘send_remote_cmd’: remote.c:158:33: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 158 | fgets(line, X11VNC_REMOTE_MAX, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ remote.c: In function ‘check_httpdir’: remote.c:362:25: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 362 | getcwd(cwd, 1024); | ^~~~~~~~~~~~~~~~~ remote.c: In function ‘send_remote_cmd’: remote.c:167:33: warning: ‘__builtin_strncpy’ specified bound 65536 equals destination size [-Wstringop-truncation] 167 | strncpy(line, x11vnc_remote_str, | ^ make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o x11vnc x11vnc-8to24.o x11vnc-appshare.o x11vnc-avahi.o x11vnc-cleanup.o x11vnc-connections.o x11vnc-cursor.o x11vnc-gui.o x11vnc-help.o x11vnc-inet.o x11vnc-keyboard.o x11vnc-linuxfb.o x11vnc-macosx.o x11vnc-macosxCG.o x11vnc-macosxCGP.o x11vnc-macosxCGS.o x11vnc-macosx_opengl.o x11vnc-options.o x11vnc-pm.o x11vnc-pointer.o x11vnc-rates.o x11vnc-remote.o x11vnc-scan.o x11vnc-screen.o x11vnc-selection.o x11vnc-solid.o x11vnc-sslcmds.o x11vnc-sslhelper.o x11vnc-uinput.o x11vnc-unixpw.o x11vnc-user.o x11vnc-userinput.o x11vnc-util.o x11vnc-v4l.o x11vnc-win_utils.o x11vnc-x11vnc.o x11vnc-x11vnc_defs.o x11vnc-xdamage.o x11vnc-xevents.o x11vnc-xi2_devices.o x11vnc-xinerama.o x11vnc-xkb_bell.o x11vnc-xrandr.o x11vnc-xrecord.o x11vnc-xwrappers.o -lvncserver -lvncclient -lssl -lcrypto -ldrm -lcrypt -lXtst -lXtst -lXtst -lXext -lXinerama -lXrandr -lXfixes -lXdamage -lXcursor -lX11 -lavahi-common -lavahi-client -lXi -lcairo make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' Making all in misc Making all in turbovnc make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' /usr/bin/sed -e '/Will be substituted by Xdummy\.c/d' -e '/"XDUMMY_C"/r ./Xdummy.c' < Xdummy.in > Xdummy.tmp mv -f Xdummy.tmp Xdummy make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G5lpT9 + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + '[' /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT ++ dirname /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT + mkdir -p /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + mkdir /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11vnc-a61f364e385d98677c04070a994397b287385219 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' /usr/bin/mkdir -p '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/bin' /usr/bin/install -p x11vnc '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/src' Making install in misc make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' Making install in turbovnc make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc/turbovnc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc/turbovnc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc/turbovnc' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc/turbovnc' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' make[3]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' /usr/bin/mkdir -p '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/bin' /usr/bin/install -p Xdummy '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/misc' make[1]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219' make[2]: Entering directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/applications' /usr/bin/install -p -m 644 x11vnc.desktop '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 x11vnc.1 '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219' make[1]: Leaving directory '/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed '0.9.16^20230801gita61f364-3.fc41' --unique-debug-suffix '-0.9.16^20230801gita61f364-3.fc41.riscv64' --unique-debug-src-base 'x11vnc-0.9.16^20230801gita61f364-3.fc41.riscv64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/x11vnc-0.9.16^20230801gita61f364-3.fc41.riscv64 5545 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/Xdummy from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT Scanned 15 directories and 95 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5GvPM9 + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11vnc-a61f364e385d98677c04070a994397b287385219 + desktop-file-validate /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT//usr/share/applications/x11vnc.desktop + RPM_EC=0 ++ jobs -p + exit 0 Processing files: x11vnc-0.9.16^20230801gita61f364-3.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XIqx98 + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + cd x11vnc-a61f364e385d98677c04070a994397b287385219 + DOCDIR=/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/ChangeLog /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/doc/FAQ.md /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/doc/OPTIONS.md /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/doc/SSL-PORTAL.md /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/doc/SSL.md /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/doc/SSVNC.md /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/doc/SUNRAY.md /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/NEWS /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/README /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/doc/x11vnc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OhKEtn + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + cd x11vnc-a61f364e385d98677c04070a994397b287385219 + LICENSEDIR=/builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/licenses/x11vnc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/licenses/x11vnc + cp -pr /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/x11vnc-a61f364e385d98677c04070a994397b287385219/COPYING /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT/usr/share/licenses/x11vnc + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(x11vnc.desktop) x11vnc = 0.9.16^20230801gita61f364-3.fc41 x11vnc(riscv-64) = 0.9.16^20230801gita61f364-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXcursor.so.1()(64bit) libXdamage.so.1()(64bit) libXext.so.6()(64bit) libXfixes.so.3()(64bit) libXi.so.6()(64bit) libXinerama.so.1()(64bit) libXrandr.so.2()(64bit) libXtst.so.6()(64bit) libavahi-client.so.3()(64bit) libavahi-common.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcairo.so.2()(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libdrm.so.2()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libvncclient.so.1()(64bit) libvncserver.so.1()(64bit) rtld(GNU_HASH) Obsoletes: x11vnc-javaviewers < 0.9.14-14 Processing files: x11vnc-debugsource-0.9.16^20230801gita61f364-3.fc41.riscv64 Provides: x11vnc-debugsource = 0.9.16^20230801gita61f364-3.fc41 x11vnc-debugsource(riscv-64) = 0.9.16^20230801gita61f364-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: x11vnc-debuginfo-0.9.16^20230801gita61f364-3.fc41.riscv64 Provides: debuginfo(build-id) = 5d7ad6619fd34e57790a21466cf5aae1fcdcb2cc x11vnc-debuginfo = 0.9.16^20230801gita61f364-3.fc41 x11vnc-debuginfo(riscv-64) = 0.9.16^20230801gita61f364-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: x11vnc-debugsource(riscv-64) = 0.9.16^20230801gita61f364-3.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build/BUILDROOT Wrote: /builddir/build/RPMS/x11vnc-0.9.16^20230801gita61f364-3.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/x11vnc-debuginfo-0.9.16^20230801gita61f364-3.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/x11vnc-debugsource-0.9.16^20230801gita61f364-3.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.K8rm8W + umask 022 + cd /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + test -d /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + rm -rf /builddir/build/BUILD/x11vnc-0.9.16_20230801gita61f364-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0